/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package easyjetroster.model;

import java.util.GregorianCalendar;

/**
 *
 * @author Jappo
 */
public class Sector {
    private String name;

    private Airport from;
    private Airport to;

    private GregorianCalendar fromTime;
    private GregorianCalendar toTime;

    public Airport getFrom() {
        return from;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setFrom(Airport from) {
        this.from = from;
    }

    public GregorianCalendar getFromTime() {
        return fromTime;
    }

    public void setFromTime(GregorianCalendar fromTime) {
        this.fromTime = fromTime;
    }

    public Airport getTo() {
        return to;
    }

    public void setTo(Airport to) {
        this.to = to;
    }

    public GregorianCalendar getToTime() {
        return toTime;
    }

    public void setToTime(GregorianCalendar toTime) {
        this.toTime = toTime;
    }

}
